package cn.wanda.bi.sunshine.platform.server.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by wangfupeng1
 */
@ApiModel
@Data
public class BuyCouponRequest implements Serializable {

    @ApiModelProperty(value = "C端用户登录token" ,example = "8351b64752c5b5663ff390a205bf1101")
    @NotNull
    private String token;

    @ApiModelProperty(value = "schemeId" ,example = "439")
    @NotNull
    private Integer schemeId;

    @ApiModelProperty(value = "券ID", example = "20170506162007")
    @NotNull
    private String couponNo;

    @ApiModelProperty(value = "会员ID, 第三方券则为第三方会员ID")
    @NotNull
    private String memberId;

    @ApiModelProperty(value = "领取人手机号")
    @NotNull
    private String mobile;

    @ApiModelProperty(value = "券售卖类型：1免费领，2免费送，3售卖", example = "1")
    @NotNull
    private Integer saleType;

    @ApiModelProperty(value = "数据源 1千帆，2飞凡，3点评", example = "2")
    @NotNull
    private Integer source;
}
